package montecarlo.european.option;

//Class that represent a montecarlo option
public class EuropeanOption {

	private String callputflag;
	private	double s;
	private double x;
	private double t;
	private double r;
	private double b;
	private double v;
	private int nSteps;
	private int nSimulations;
	
	public EuropeanOption(String callputflag, double s, double x, double t,
		double r, double b, double v, int nSteps, int nSimulations) {
		
		this.callputflag = callputflag;
		this.s = s;
		this.x = x;
		this.t = t;
		this.r = r;
		this.b = b;
		this.v = v;
		this.nSteps = nSteps;
		this.nSimulations = nSimulations;
	}

	
	@Override
	public String toString() {
		return "flag:" + callputflag + ", s=" + s
				+ ", x=" + x + ", t=" + t + ", r=" + r + ", b=" + b + ", v="
				+ v + ", nSteps=" + nSteps + ", nSimulations=" + nSimulations
				+ "]";
	}


	public String getCallputflag() {
		return callputflag;
	}

	public void setCallputflag(String callputflag) {
		this.callputflag = callputflag;
	}

	public double getS() {
		return s;
	}

	public void setS(double s) {
		this.s = s;
	}

	public double getX() {
		return x;
	}

	public void setX(double x) {
		this.x = x;
	}

	public double getT() {
		return t;
	}

	public void setT(double t) {
		this.t = t;
	}

	public double getR() {
		return r;
	}

	public void setR(double r) {
		this.r = r;
	}

	public double getB() {
		return b;
	}

	public void setB(double b) {
		this.b = b;
	}

	public double getV() {
		return v;
	}

	public void setV(double v) {
		this.v = v;
	}

	public int getnSteps() {
		return nSteps;
	}

	public void setnSteps(int nSteps) {
		this.nSteps = nSteps;
	}

	public int getnSimulations() {
		return nSimulations;
	}

	public void setnSimulations(int nSimulations) {
		this.nSimulations = nSimulations;
	}
	
	
}
